﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C41 RID: 3137
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MusicRhythmSaveSongConfigDataCsReq : IMessage<MusicRhythmSaveSongConfigDataCsReq>, IMessage, IEquatable<MusicRhythmSaveSongConfigDataCsReq>, IDeepCloneable<MusicRhythmSaveSongConfigDataCsReq>, IBufferMessage
	{
		// Token: 0x1700278C RID: 10124
		// (get) Token: 0x06008C45 RID: 35909 RVA: 0x0017528B File Offset: 0x0017348B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MusicRhythmSaveSongConfigDataCsReq> Parser
		{
			get
			{
				return MusicRhythmSaveSongConfigDataCsReq._parser;
			}
		}

		// Token: 0x1700278D RID: 10125
		// (get) Token: 0x06008C46 RID: 35910 RVA: 0x00175292 File Offset: 0x00173492
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MusicRhythmSaveSongConfigDataCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700278E RID: 10126
		// (get) Token: 0x06008C47 RID: 35911 RVA: 0x001752A4 File Offset: 0x001734A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MusicRhythmSaveSongConfigDataCsReq.Descriptor;
			}
		}

		// Token: 0x06008C48 RID: 35912 RVA: 0x001752AB File Offset: 0x001734AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MusicRhythmSaveSongConfigDataCsReq()
		{
		}

		// Token: 0x06008C49 RID: 35913 RVA: 0x001752B3 File Offset: 0x001734B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MusicRhythmSaveSongConfigDataCsReq(MusicRhythmSaveSongConfigDataCsReq other) : this()
		{
			this.oGBKIFPBBID_ = ((other.oGBKIFPBBID_ != null) ? other.oGBKIFPBBID_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008C4A RID: 35914 RVA: 0x001752E8 File Offset: 0x001734E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MusicRhythmSaveSongConfigDataCsReq Clone()
		{
			return new MusicRhythmSaveSongConfigDataCsReq(this);
		}

		// Token: 0x1700278F RID: 10127
		// (get) Token: 0x06008C4B RID: 35915 RVA: 0x001752F0 File Offset: 0x001734F0
		// (set) Token: 0x06008C4C RID: 35916 RVA: 0x001752F8 File Offset: 0x001734F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MusicRhythmGroup OGBKIFPBBID
		{
			get
			{
				return this.oGBKIFPBBID_;
			}
			set
			{
				this.oGBKIFPBBID_ = value;
			}
		}

		// Token: 0x06008C4D RID: 35917 RVA: 0x00175301 File Offset: 0x00173501
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MusicRhythmSaveSongConfigDataCsReq);
		}

		// Token: 0x06008C4E RID: 35918 RVA: 0x0017530F File Offset: 0x0017350F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MusicRhythmSaveSongConfigDataCsReq other)
		{
			return other != null && (other == this || (object.Equals(this.OGBKIFPBBID, other.OGBKIFPBBID) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008C4F RID: 35919 RVA: 0x00175344 File Offset: 0x00173544
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.oGBKIFPBBID_ != null)
			{
				num ^= this.OGBKIFPBBID.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008C50 RID: 35920 RVA: 0x00175380 File Offset: 0x00173580
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008C51 RID: 35921 RVA: 0x00175388 File Offset: 0x00173588
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008C52 RID: 35922 RVA: 0x00175391 File Offset: 0x00173591
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.oGBKIFPBBID_ != null)
			{
				output.WriteRawTag(90);
				output.WriteMessage(this.OGBKIFPBBID);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008C53 RID: 35923 RVA: 0x001753C4 File Offset: 0x001735C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.oGBKIFPBBID_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.OGBKIFPBBID);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008C54 RID: 35924 RVA: 0x00175404 File Offset: 0x00173604
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MusicRhythmSaveSongConfigDataCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.oGBKIFPBBID_ != null)
			{
				if (this.oGBKIFPBBID_ == null)
				{
					this.OGBKIFPBBID = new MusicRhythmGroup();
				}
				this.OGBKIFPBBID.MergeFrom(other.OGBKIFPBBID);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008C55 RID: 35925 RVA: 0x00175458 File Offset: 0x00173658
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008C56 RID: 35926 RVA: 0x00175464 File Offset: 0x00173664
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 90U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.oGBKIFPBBID_ == null)
					{
						this.OGBKIFPBBID = new MusicRhythmGroup();
					}
					input.ReadMessage(this.OGBKIFPBBID);
				}
			}
		}

		// Token: 0x0400359E RID: 13726
		private static readonly MessageParser<MusicRhythmSaveSongConfigDataCsReq> _parser = new MessageParser<MusicRhythmSaveSongConfigDataCsReq>(() => new MusicRhythmSaveSongConfigDataCsReq());

		// Token: 0x0400359F RID: 13727
		private UnknownFieldSet _unknownFields;

		// Token: 0x040035A0 RID: 13728
		public const int OGBKIFPBBIDFieldNumber = 11;

		// Token: 0x040035A1 RID: 13729
		private MusicRhythmGroup oGBKIFPBBID_;
	}
}
